<?php
require_once '../model/conn.php';
// 插入评论
function insertCom($aid, $uid, $content)
{
  $sql = "insert into tbl_comment values(null,$aid,$uid,'$content',NOW())";
  $cid = getId($sql);
  return $cid;

}
?>